﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OmcSocketClient {
    class Program {
        static void Main(string[] args) {
            String result;
            //result = omc.help();
            String model;
            
            result = omc.LoadFile("Hydro.mo","\\").ToString();
            result += "\nbuild\n";
            result += omc.Build("model test Real x; end test;");
            result += "\ngetClassNames()\n";
            result += omc.GetClassNames();
            result += "getClassNames(\"Hydro\")\n";
            result += omc.GetClassNames("Hydro");
            result += "getClassRestriction(\"Hydro\")\n";
            result += omc.GetClassRestriction("Hydro");
            result += "getIconAnnotation(\"Hydro\")\n";
            result += omc.GetIconAnnotation("Hydro");
            omc.GetListOfModelsOnServer();
            Console.WriteLine(result);
            Console.Read();
        }
    }
}

